package service

import (
	"github.com/gin-gonic/gin"
)

type RouteBuilder func(engine *gin.Engine, address string, gameName string)

var RouterRegistry = make(map[string][]RouteBuilder)

func Register(address string, builder RouteBuilder) {
	RouterRegistry[address] = append(RouterRegistry[address], builder)
}
